github.com/gotd/td/transport.connection.conn (field)
13 uses
github.com/gotd/td/transport (current package)
connection.go#L25: conn net.Conn
connection.go#L38: if err := c.conn.SetWriteDeadline(time.Time{}); err != nil {
connection.go#L42: if err := c.conn.SetWriteDeadline(deadline); err != nil {
connection.go#L47: if err := c.codec.Write(c.conn, b); err != nil {
connection.go#L60: if err := c.conn.SetReadDeadline(time.Time{}); err != nil {
connection.go#L64: if err := c.conn.SetReadDeadline(deadline); err != nil {
connection.go#L69: if err := c.codec.Read(c.conn, b); err != nil {
connection.go#L78: return c.conn.Close()
listener.go#L63: conn: conn,
listener.go#L75: conn: wrappedConn{
protocol.go#L70: conn: conn,
protocol.go#L80: conn: p1,
protocol.go#L83: conn: p2,
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |